package exteditapp.state;

import exteditapp.AppletIterator;
import exteditapp.FileDefault;

/**
 * State - init (while settings are being downloaded)
 * @author Arturas Smorgun, arturas@smorgun.lt
 */
public class StateInitializing extends IState {

	/**
	 * Default constructor
	 * @param file this item's state we will hold
	 */
	public StateInitializing(AppletIterator iterator, FileDefault file) {
		super(iterator, file);
	}
	public StateInitializing(AppletIterator iterator, FileDefault file, boolean doRegister){
		super(iterator, file, doRegister);
	}
	
	/**
	 * Handling of new state
	 */
	public boolean handle() {
		//TODO implement edit state handling
		if(progress < 100)
			return false;
		else
			return true;
	}
	
}
